chore(deps): update dependency @fastify/express to v4 [security]#3351
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency @fastify/express to v4 [security]#3351renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
35a4f08 to
53071cf
Compare
fa76383 to
d441445
Compare
d441445 to
4f1fe51
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0→^4.0.3GitHub Vulnerability Alerts
CVE-2026-22037
Summary
A security vulnerability exists in
@fastify/expresswhere middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g.,/%61dmininstead of/admin). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints.Details
The vulnerability is caused by how
@fastify/expressmatches requests against registered middleware paths.PoC
Step 1: Run the following Fastify application (save as
app.js):Step 2: Execute the attack.
It differs from CVE-2026-22031 because this is a different npm module with its own code.
Release Notes
fastify/fastify-express (@fastify/express)
v4.0.3Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify-express@v4.0.2...v4.0.3
v4.0.2Compare Source
What's Changed
Full Changelog: fastify/fastify-express@v4.0.1...v4.0.2
v4.0.1Compare Source
What's Changed
Full Changelog: fastify/fastify-express@v4.0.0...v4.0.1
v4.0.0Compare Source
What's Changed
nextintomasterby @jsumners in #138Full Changelog: fastify/fastify-express@v3.0.0...v4.0.0
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.